<?php
$form = $this->beginWidget('CActiveForm', array(
    'id' => 'captcha-form',
    ));
echo $form->errorSummary($model); 
$this->endWidget();
?>
<h1>Validasi PIN</h1>
<div class="add">
  <form action="" method="post" name="validation_form" enctype="multipart/form-data">
    <table cellpadding="0" cellspacing="0" border="0">
      <tr class="title">
        <th colspan="2" style="text-align:left;"><strong>VALIDASI PIN</strong></th>
      </tr>
      <tr>
        <th width="100">PIN</th>
        <td><input type="password" name="pin" value="" size="10" class="text" /></td>
      </tr>
      <?php if (extension_loaded('gd')): ?>
      <tr class="title">
        <th colspan="2" style="text-align:left;"><strong>VALIDASI KODE UNIK</strong></th>
      </tr>
      <tr>
        <th>Kode Unik</th>
        <td>
            <div style="float:left; padding-right:10px;"><input type="text" name="captcha_form[verifyCode]" value="" size="10" class="text" /></div>
            <div style="float:left; padding-top:1px;"><?php $this->widget('CCaptcha'); ?></div>
            <div style="clear:both;"></div>
        </td>
      </tr>
      <?php endif; ?>
      <tr>
        <th>&nbsp;</th>
        <td><input type="submit" name="check" value="Lanjutkan" class="button" /></td>
      </tr>
    </table>
  </form>
</div>